package com.evony.client.action 
{
    import com.evony.common.*;
    import com.evony.common.module.*;
    import com.evony.common.module.castle.*;
    import com.evony.common.module.tech.*;
    
    public class EquipmenttechCommands extends Object
    {
        public function EquipmenttechCommands()
        {
            super();
            return;
        }

        public function getCoinsNeed(arg1:int, arg2:Function=null):com.evony.common.module.castle.CoinsNeedResponse
        {
            this._getCoinsNeed_callback = arg2;
            var loc1:*=new Object();
            loc1.castleId = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("equipmenttech.getCoinsNeed", loc1);
            }
            return null;
        }

        public function speedUpResearch(arg1:int, arg2:String, arg3:Function=null):com.evony.common.module.tech.ResearchResponse
        {
            this._speedUpResearch_callback = arg3;
            var loc1:*;
            (loc1 = new Object()).castleId = arg1;
            loc1.itemId = arg2;
            if (this.sender != null) 
            {
                sender.sendMessage("equipmenttech.speedUpResearch", loc1);
            }
            return null;
        }

        public function getResearchList(arg1:int, arg2:Function=null):com.evony.common.module.tech.AvailableResearchListResponse
        {
            this._getResearchList_callback = arg2;
            var loc1:*=new Object();
            loc1.castleId = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("equipmenttech.getResearchList", loc1);
            }
            return null;
        }

        public function setSender(arg1:com.evony.common.Sender):void
        {
            this.sender = arg1;
            return;
        }

        public function cancelResearch(arg1:int, arg2:Function=null):com.evony.common.module.CommandResponse
        {
            this._cancelResearch_callback = arg2;
            var loc1:*=new Object();
            loc1.castleId = arg1;
            if (this.sender != null) 
            {
                sender.sendMessage("equipmenttech.cancelResearch", loc1);
            }
            return null;
        }

        public function research(arg1:int, arg2:int, arg3:Function=null):com.evony.common.module.tech.ResearchResponse
        {
            this._research_callback = arg3;
            var loc1:*;
            (loc1 = new Object()).castleId = arg1;
            loc1.techId = arg2;
            if (this.sender != null) 
            {
                sender.sendMessage("equipmenttech.research", loc1);
            }
            return null;
        }

        public var _getCoinsNeed_callback:Function;

        public var _speedUpResearch_callback:Function;

        public var _cancelResearch_callback:Function;

        public var _research_callback:Function;

        internal var sender:com.evony.common.Sender;

        public var _getResearchList_callback:Function;
    }
}
